@extends('layouts.app')
@section('title','版本启动')
@section('content')

<!-- start: Content -->
<div class="row-fluid">
	<div class="box span12">
		<div class="box-header">
			<h2><i class="icon-edit"></i>开启APP端线上交易</h2>
		</div>
		<div class="box-content">
			<form action="{{ URL('app/set',$app->id) }}" method='POST'  enctype="multipart/form-data" class="form-horizontal" style='height:3000px;'>
				{{ csrf_field() }}
				{{ method_field('PUT') }}
			  <fieldset>
				<div class="control-group">
				  <label class="control-label" for="typeahead">APP开启线上交易:&nbsp;&nbsp;</label>
				  <div class="controls">
					<select name='status' class="form-control">
						@if($app->status == 1)
							<option value='1' selected = "selected">开启</option>
					  		<option value='0'>关闭</option>
					  	@else
					  		<option value='1'>开启</option>
					  		<option value='0' selected = "selected">关闭</option>
					  	@endif
					  
					</select>
				  </div>
				</div>
				<div class="form-actions">
				  <button type="submit" class="btn btn-primary">确定</button>
				</div>
			  </fieldset>
			</form> 
		</div>
	</div><!--/span-->
</div><!--/row-->
<!-- end: Content -->
@stop